package cn.icatw.gulimall.order.to;

import cn.icatw.gulimall.order.entity.OrderEntity;
import cn.icatw.gulimall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 订单创建
 *
 * @author icatw
 * @date 2022/03/27
 */
@Data
public class OrderCreateTo {

    private OrderEntity order;

    private List<OrderItemEntity> orderItems;

    /**
     * 订单计算的应付价格
     **/
    private BigDecimal payPrice;

    /**
     * 运费
     **/
    private BigDecimal fare;

}
